import request from '@/utils/request'

export function listAllCacheKey(query) {
  return request({
    method: 'get',
    params: {
      _gp: 'admin.cacheManage',
      _mt: 'listAllCacheKey',
      ...query
    }
  })
}

export function clearAllCacheKey() {
  return request({
    method: 'post',
    params: {
      _gp: 'admin.cacheManage',
      _mt: 'clearAllCacheKey'
    }
  })
}
